#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>

using namespace std;

int main( int argc, char *argv[] )
{
	cout << getpid() << endl;
	cout << "uid" << getuid() << endl;
	cout << "gid" << getgid() << endl;
	return 0;
}
